package com.atguigu.gulimall.ware.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
 * 采购需求
 */
@Data
@TableName("wms_purchase_detail")
public class PurchaseDetailEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId
	private Long id;
	private Long purchaseId;    //采购单id
	private Long skuId;    //采购商品id
	private Integer skuNum;    //采购数量
	private BigDecimal skuPrice;    //采购金额
	private Long wareId;    //仓库id
	private Integer status;  //状态[0新建，1已分配，2正在采购，3已完成，4采购失败]
}
